<?php /* Smarty version Smarty-3.1.18, created on 2017-02-20 16:12:43
         compiled from "Finance/views/mfunds/index.html" */ ?>
<?php /*%%SmartyHeaderCode:165179410858aaa4fb93ad49-02252664%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a69b55c25d16e21e34950ffb0101be6425197805' => 
    array (
      0 => 'Finance/views/mfunds/index.html',
      1 => 1487574483,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '165179410858aaa4fb93ad49-02252664',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'recommands' => 0,
    'val' => 0,
    'unrecommands' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_58aaa4fb980c30_35594977',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_58aaa4fb980c30_35594977')) {function content_58aaa4fb980c30_35594977($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("public/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
 		
		<!--平台列表-->
		<div class="funding-list title-big w1180-con mt20">
			<div style="height: 193px; background: url(/static/default/img/introduce/3.jpg) no-repeat center 0;"></div>
			<!--众筹项目 横-->
			<div class="">
				<h4 class="pud10">
					<div class="title">
						发现更好的自己
					</div>
				</h4>
				<ul class="funding-jq">
                                    <?php  $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['val']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['recommands']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['val']->key => $_smarty_tpl->tpl_vars['val']->value) {
$_smarty_tpl->tpl_vars['val']->_loop = true;
?>
					<li class="propaganda-transverse w100 mtb10" style="background: url(<?php echo $_smarty_tpl->tpl_vars['val']->value['banner_list'];?>
);">
						<div class="txt w100">
                                                    <!--<a href="<?php echo $_smarty_tpl->tpl_vars['val']->value['url'];?>
" target="_blank" class="fl title">
								<h5><?php echo $_smarty_tpl->tpl_vars['val']->value['title'];?>
</h5>
							</a>-->
							<a href="<?php echo $_smarty_tpl->tpl_vars['val']->value['url'];?>
" target="_blank" class="fl con">
								<p><?php echo $_smarty_tpl->tpl_vars['val']->value['introduction'];?>
</p>
							</a>
							<div class="fr btn">
								<a href="<?php echo $_smarty_tpl->tpl_vars['val']->value['url'];?>
" target="_blank" class="btn" alt title >一秒变老板</a>
							</div>
						</div>
						<div class="cover"></div>
					</li>
                                    <?php } ?>
				</ul>
			</div>
			<!--众筹项目 竖-->
			<div class="">
				<h4 class="pud10">
					<div class="title">
						梦想的游轮任你选
					</div>
				</h4>
				<ul class="funding-vertical">
                                    <?php  $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['val']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['unrecommands']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['val']->key => $_smarty_tpl->tpl_vars['val']->value) {
$_smarty_tpl->tpl_vars['val']->_loop = true;
?>
					<li class="mtb10">
						<div class="p5">
							<div class="img w100">
								<div class="img-bj">
									<a href="<?php echo $_smarty_tpl->tpl_vars['val']->value['url'];?>
" target="_blank" >立即查看</a>
								</div>
								<img src="<?php echo $_smarty_tpl->tpl_vars['val']->value['banner_detail'];?>
"/>
							</div>
							<div class="txt plr10">
								<a href="<?php echo $_smarty_tpl->tpl_vars['val']->value['url'];?>
" target="_blank" class="title">
									<h5><?php echo $_smarty_tpl->tpl_vars['val']->value['title'];?>
</h5>
									<i><?php echo $_smarty_tpl->tpl_vars['val']->value['introduction'];?>
</i>
								</a>
							</div>
						</div>
					</li>
                                    <?php } ?>
				</ul>
			</div>
		</div>
		<div class="clear"></div>
		<!--footer-->
		<script type="text/javascript">
			var text = $(".funding-vertical .txt .title i");
			if( typeof(text) != "undefined"){
				for(i=0; i< text.length; i++){
					var str =text[i].innerHTML;
			   		textLeng = 70;
				    if(str.length > textLeng ){
				          text[i].innerHTML = str.substring(0,textLeng )+"...";
				    }   			
				}
			}

		</script>
        <script type="text/javascript">
			$(function(){
				//众筹列表页
				$(".funding-vertical li:nth-child(3n)").css("margin-right","0px");
				$(".funding-vertical li").hover(function(){
					$(this).find(".img-bj").stop(true).fadeIn();
				},function(){
					$(this).find(".img-bj").stop(true).fadeOut();
				});				
			})
		</script>
<?php echo $_smarty_tpl->getSubTemplate ("public/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
 	<?php }} ?>
